body {
  margin: 0;
  padding: 0;
}

/*================= 左上角标签 ===================*/
.tag1 {
 border: none;
 position: relative;
 width: 180px;
 height: 60px;
 line-height: 60px;
 z-index: 2;
 -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E") no-repeat 50% 50%;
 mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='868' width='2500' viewBox='0 0 726 252.17'%3E%3Cpath d='M483.92 0S481.38 24.71 466 40.11c-11.74 11.74-24.09 12.66-40.26 15.07-9.42 1.41-29.7 3.77-34.81-.79-2.37-2.11-3-21-3.22-27.62-.21-6.92-1.36-16.52-2.82-18-.75 3.06-2.49 11.53-3.09 13.61S378.49 34.3 378 36a85.13 85.13 0 0 0-30.09 0c-.46-1.67-3.17-11.48-3.77-13.56s-2.34-10.55-3.09-13.61c-1.45 1.45-2.61 11.05-2.82 18-.21 6.67-.84 25.51-3.22 27.62-5.11 4.56-25.38 2.2-34.8.79-16.16-2.47-28.51-3.39-40.21-15.13C244.57 24.71 242 0 242 0H0s69.52 22.74 97.52 68.59c16.56 27.11 14.14 58.49 9.92 74.73C170 140 221.46 140 273 158.57c69.23 24.93 83.2 76.19 90 93.6 6.77-17.41 20.75-68.67 90-93.6 51.54-18.56 103-18.59 165.56-15.25-4.21-16.24-6.63-47.62 9.93-74.73C656.43 22.74 726 0 726 0z'/%3E%3C/svg%3E") no-repeat 50% 50%;
 -webkit-mask-size: 100%;
 cursor: pointer;
 background-color: transparent;
 transform: translateY(8px)
}

.tag1:after {
 content: '';
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 box-shadow: 0px 0 0 0 white;
 transition: all 1.6s ease;
}

.tag1:hover:after {
 box-shadow: 0px -13px 56px 12px #ffffffa6;
}

.tag1 span {
 position: absolute;
 width: 100%;
 font-size: 18px;
 font-weight: bold;
 left: 50%;
 top: 39%;
 letter-spacing: 3px;
 text-align: center;
 transform: translate(-50%,-50%);
 color: black;
 transition: all 1.6s ease;
}

.tag1:hover span {
 color: white;
}

.tag1:before {
 content: '';
 position: absolute;
 width: 0;
 height: 100%;
 background-color: black;
 left: 50%;
 top: 50%;
 transform: translate(-50%, -50%);
 transition: all 1s ease;
}

.tag1:hover:before {
 width: 100%;
}
/*================= 左上角标签 ===================*/



.dev-nav {
  display: flex; height: 70px;
  position: sticky; top: 0;
  z-index: 10;
  justify-content: space-between;
  /* 隐藏淡入淡出 */
  transition: opacity 0.5s ease-in-out;
}


/* 自定义el-menu组件的样式 */
.main {
  background: transparent;   /* 背景设置透明 */
  /*background: rebeccapurple;*/
  border: none;
  width: 400px;  height: 100%;  padding: 0 40px;
  display: flex;  justify-content: space-between; /*或者使用space-around*/
}


.item {
  background-color: transparent;
  color: black;  font-size: 18px;  font-weight: bold;  border: none; line-height: 60px;
  padding: 0 1rem;
  border-radius: 5px;
  transition: background-color 0.2s ease-in-out;
  flex-grow: 1;
}

/*.item:hover {*/
/*  background-color: cadetblue;*/
/*  color: white;*/
/*}*/



/* =================导航栏元素================= */
.btn2 {
 /*padding: 1.1em 2em; border: none; background-color: transparent;*/
    background-color: transparent;
    color: black;  font-size: 18px;  font-weight: bold;  border: none; line-height: 60px;
    padding: 0 1rem;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    flex-grow: 1;
}

.btn2:before {
 content: "";
 position: absolute;
 width: 100px;
 height: 120%;
 background-color: #ff6700;
 top: 50%;
 transform: skewX(30deg) translate(-150%, -50%);
 transition: all 0.5s;
}

.btn2:hover {
 background-color: #4cc9f0;
 color: #fff;
 box-shadow: 0 2px 0 2px #0d3b66;
}

.btn2:hover::before {
 transform: skewX(30deg) translate(150%, -50%);
 transition-delay: 0.1s;
}

.btn2:active {
 transform: scale(0.9);
}
/* =================导航栏元素================= */
